package kliment.api
{
	import flash.net.URLVariables;

	/**
	 *
	 */
	public interface ICheckout
	{
		/**
		 *
		 * @return
		 */
		function get apiURL():String;

		/**
		 *
		 * @param list
		 * @return
		 */
		function attachProducts(list:Array /* of ShopingCartItem*/):Boolean;

		/**
		 *
		 * @return
		 */
		function getRequestVariables():URLVariables;

		/**
		 *
		 * @return
		 */
		function submit():Boolean;
	}
}